﻿<Window x:Class="UploadClient.oldMainWindow"
        x:Name="MainWindow"
        x:Uid="UploadClient"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="UploadClient" WindowStyle="SingleBorderWindow" 
        ResizeMode="NoResize" Closing="Window_Closing" mc:Ignorable="d" Height="100" Width="430"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        xmlns:local="clr-namespace:UploadClient"
        xmlns:ex="clr-namespace:UploadClient.View"
        Icon="/UploadClient;component/media/box_upload_48.ico">
    <Window.Resources>
        <ResourceDictionary Source="WindowRessources.xaml"/>
    </Window.Resources>
    <Grid>
        <Image Height="15" HorizontalAlignment="Left" Margin="0,0,0,0" Name="imgUpdate" Stretch="Fill" VerticalAlignment="Top" Width="15" 
               MouseDown="imgUpdate_MouseDown"
               UseLayoutRounding="False"
               ToolTip="Click to Upgrade"/>
        <Button Height="25" HorizontalAlignment="Left" Margin="11,12,0,0" Name="BrowseButton" VerticalAlignment="Top" Width="25" IsEnabled="True"
                Click="BrowseButton_Click" 
                Style="{DynamicResource buttonStyle}"  
                ToolTip="{local:Localization Key=UPL_0008}"         
                ex:ButtonExtension.DefaultImageSource ="/UploadClient;component/media/search_48.png"
                ex:ButtonExtension.MouseOverImageSource="/UploadClient;component/media/search_shadow_48.png"
                ex:ButtonExtension.DisabledImageSource="/UploadClient;component/media/search_deactivated_48.png"/>
        
        <Button Height="25" HorizontalAlignment="Left" Margin="42,12,0,0" Name="StartDownloadButton" VerticalAlignment="Top" Width="25" IsEnabled="False" 
                Click="StartDownloadButton_Click" 
                Style="{DynamicResource buttonStyle}"
                ToolTip="{local:Localization Key=UPL_0001}" 
                ex:ButtonExtension.DefaultImageSource ="/UploadClient;component/media/box_48.png"
                ex:ButtonExtension.MouseOverImageSource="/UploadClient;component/media/box_download_48.png"
                ex:ButtonExtension.DisabledImageSource="/UploadClient;component/media/box_deactivated_48.png"/>

        <Button Height="25" HorizontalAlignment="Left" Margin="73,12,0,0" Name="CancelDownloadButton" VerticalAlignment="Top" Width="25" IsEnabled="False"
                Style="{DynamicResource buttonStyle}"  
                Click="CancelDownloadButton_Click" 
                ToolTip="{local:Localization Key=UPL_0007}"
                ex:ButtonExtension.DefaultImageSource ="/UploadClient;component/media/cancel_48.png"
                ex:ButtonExtension.MouseOverImageSource="/UploadClient;component/media/cancel_shadow_48.png"
                ex:ButtonExtension.DisabledImageSource="/UploadClient;component/media/cancel_deactivated_48.png"/>
        
        <ProgressBar Height="23" HorizontalAlignment="Left" Margin="111,12,0,0" Name="UploadProgressBar" VerticalAlignment="Top" Width="293" Style="{StaticResource CopyProgressBar}" Canvas.Left="158" Canvas.Top="103" />
        <TextBlock  Text=""  Name="ProgressTextBox" VerticalAlignment="Top" TextWrapping="Wrap" Height="42" Margin="111,38,4,0" />
        <Expander Header="{local:Localization Key=UPL_0004}" Height="140" HorizontalAlignment="Left" Margin="11,41,0,0" Name="OptionsExpander" VerticalAlignment="Top" Width="393" Expanded="OptionsExpander_Expanded" IsExpanded="False" Collapsed="OptionsExpander_Collapsed">
            <Grid>
                <CheckBox Content="{local:Localization Key=UPL_0020}" Height="16" HorizontalAlignment="Left" Margin="6,28,0,0" Name="RegistryCheckBox" VerticalAlignment="Top" Checked="RegistryCheckBox_Checked" Unchecked="RegistryCheckBox_Unchecked" IsEnabled="False" ToolTip="{local:Localization Key=UPL_0030}"/>
                <CheckBox Content="{local:Localization Key=PLG_0006}" Height="16" HorizontalAlignment="Left" Margin="6,72,0,0" Name="MonitoringClipboard" VerticalAlignment="Top" Checked="MonitoringClipboardCheckbox_Checked" Unchecked="MonitoringClipboardCheckbox_Unchecked" ToolTip="{local:Localization Key=UPL_0029}"/>
                <CheckBox Content="{local:Localization Key=UPL_0032}" Height="16" HorizontalAlignment="Left" Margin="6,95,0,0" Name="QuickUploadCheckBox" VerticalAlignment="Top" Checked="QuickUploadCheckBox_Checked" Unchecked="QuickUploadCheckBox_Unchecked" ToolTip="{local:Localization Key=UPL_0023}"/>
                <CheckBox Content="{local:Localization Key=UPL_0021}" Height="16" HorizontalAlignment="Left" Margin="6,50,0,0" Name="UrlToClipboardCheckBox" VerticalAlignment="Top" Checked="UrlToClipboardCheckBox_Checked" Unchecked="UrlToClipboardCheckBox_Unchecked" ToolTip="{local:Localization Key=UPL_0031}"/>
                
                <Button Height="30" HorizontalAlignment="Left" Name="SettingsButton" VerticalAlignment="Top" Width="30" Margin="300,28,0,0"
                        Style="{DynamicResource buttonStyle}" 
                        Click="SettingsButton_Click" 
                        ToolTip="{local:Localization Key=UPL_0019}"
                        ex:ButtonExtension.DefaultImageSource ="/UploadClient;component/media/spanner_48.png"
                        ex:ButtonExtension.MouseOverImageSource="/UploadClient;component/media/spanner_shadow_48.png"
                        ex:ButtonExtension.DisabledImageSource="/UploadClient;component/media/spanner_48.png"/>
                <ComboBox Name="LanguageSelection" UseLayoutRounding="True" Background="{x:Null}" ToolTip="{local:Localization Key=UPL_0026}" SelectionChanged="LanguageSelection_SelectionChanged" BorderBrush="{x:Null}" Foreground="{x:Null}" Margin="342,28,0,58" >
                    <ComboBoxItem Name="EnglishItemFlag">
                        <Image Source="/UploadClient;component/media/Language/English.png" Width="25" Height="25"/>
                    </ComboBoxItem>
                    <ComboBoxItem Name="GermanItemFlag">
                        <Image Source="/UploadClient;component/media/Language/German.png" Width="25" Height="25"/>
                    </ComboBoxItem>
                </ComboBox>

            </Grid>
        </Expander>
        
    </Grid>
</Window>
